



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- ViewVC :: http://www.viewvc.org/ -->
<head>
<title>SourceForge.net Repository - [xtpl] Log of /trunk/xtemplate.class.php</title>
<meta name="generator" content="ViewVC 1.1.6" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="The world's largest development and download repository of Open Source code and applications" />
<meta name="keywords" content="Open Source, Development, Developers, Projects, Downloads, OSTG, VA Software, SF.net, SourceForge" />
<title>SourceForge.net Repository - xtpl Index of /</title>
<link rel="shortcut icon" href="http://a.fsdn.com/con/img/favicon.ico" />
<link rel="stylesheet" href="http://a.fsdn.com/con/css/sf.min.css?1256826599" type="text/css" />
<link rel="stylesheet" href="/viewvc-static/styles.css" type="text/css" />
<style type="text/css">
#doc3 { max-width: 1000px; margin: 0 auto; }
#hd .logo {
background: url("http://a.fsdn.com/sf/images/phoneix/sf_phoneix.png") no-repeat;
color: transparent;
display: inline-block;
height: 36px;
}
#hd .search { display: none; }
#breadcrumbs { margin-bottom: 1em; }
#fad83 { float: right; }
#yui-main { min-height: 100px; }
#ft .yui-u { display: inline-block; margin-right: 2em; }
</style>

<!-- BEGIN: AdSolution-Tag 4.2: Global-Code [PLACE IN HTML-HEAD-AREA!] -->
<!-- DoubleClick Random Number -->
<script language="JavaScript" type="text/javascript">
dfp_ord=Math.random()*10000000000000000;
dfp_tile = 1;
</script>
<!-- End DoubleClick Random Number -->
<script type="text/javascript">
var google_page_url = 'http://sourceforge.net/projects/xtpl/';
var sourceforge_project_name = 'xtpl';
var sourceforge_project_description = '';
</script>
<!-- END: AdSolution-Tag 4.2: Global-Code -->
<!-- after META tags -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
</head>
<body class="short-head">
<!--[if IE 7]><div id="ie7only"><![endif]-->
<!--[if IE 6]><div id="ie6only"><![endif]-->
<!--[if IE]><div id="ieonly"><![endif]-->
<div id="doc3">
<div id="hd">
<div class="yui-b">
<div class="yui-gc">
<div class="yui-u first">
<a href="http://sourceforge.net/" class="logo">Find and develop open source software</a>
</div>
<div class="yui-u">
<div class="search">
<form action="http://sourceforge.net/search/" method="get" name="searchform" id="searchform">
<input type="hidden" name="type_of_search" value="soft" />
<input type="text" class="text clear hint" name="words" id="words" value="enter keyword" />
<span class="yui-button yui-push-button default"><span class="first-child"><button type="submit" value="Search">Search</button></span></span>
</form>
</div>
</div>
</div>
</div>
</div>
<div id="bd" class="inner-bd">
<div id="doc4" class="yui-t6">
<div id="breadcrumbs">

<a href="http://sourceforge.net/">SourceForge.net</a>
&gt; <a href="http://sourceforge.net/softwaremap/">Find Software</a>
&gt; <a href="http://sourceforge.net/projects/xtpl/">xtpl</a>
&gt; SCM Repositories


<a href="/viewvc/xtpl/">


&gt; xtpl


</a>



<a href="/viewvc/xtpl/trunk/">


&gt; trunk


</a>




&gt; xtemplate.class.php




</div>










<div id="project_nav_container">
<small><div>

<a href="/viewvc/xtpl/trunk/"><img src="/viewvc-static/images/back_small.png" width="16" height="16" alt="Parent Directory" /> Parent Directory</a>

| <a href="/viewvc/xtpl/trunk/xtemplate.class.php?view=log"><img src="/viewvc-static/images/log.png" width="16" height="16" alt="Revision Log" /> Revision Log</a>




</div>
</small>
<h1>SCM Repositories - <a href="http://sourceforge.net/projects/xtpl">xtpl</a></h1>
</div>
<hr class="clear">
<div class="yui-b">
<div id="fad83">
<!-- DoubleClick Ad Tag -->
<script type="text/javascript">
//<![CDATA[
document.write('<script src="http://ad.doubleclick.net/adj/ostg.sourceforge/pg_viewvc_p88_shortrec;pg=viewvc;tile='+dfp_tile+';tpc=xtpl;ord='+dfp_ord+';sz=1x1?" type="text/javascript"><\/script>');
dfp_tile++;
//]]>
</script>
<!-- End DoubleClick Ad Tag -->
</div>
</div>
<div id="yui-main">
<div class="yui-b sfBox">
<table class="auto">



<tr>
<td>Links to HEAD:</td>
<td>

(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=28&amp;view=markup">view</a>)
(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=28">download</a>)
(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=28&amp;content-type=text%2Fplain">as text</a>)
(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?annotate=28">annotate</a>)
mime-type: text/plain
</td>
</tr>



<tr>
<td>Sticky Revision:</td>
<td><form method="get" action="/viewvc/xtpl" style="display: inline">
<div style="display: inline">
<input type="hidden" name="orig_pathtype" value="FILE"/><input type="hidden" name="orig_view" value="log"/><input type="hidden" name="orig_path" value="trunk/xtemplate.class.php"/><input type="hidden" name="view" value="redirect_pathrev"/>

<input type="text" name="pathrev" value="" size="6"/>

<input type="submit" value="Set" />
</div>
</form>

</td>
</tr>
</table>
 


</div>
</div>
<hr class="clear">
<div>






<div>
<hr />

<a name="rev27"></a>


Revision <a href="/viewvc/xtpl?view=revision&amp;revision=27"><strong>27</strong></a> -


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=27&amp;view=markup">view</a>)


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=27">download</a>)

(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?annotate=27">annotate</a>)



- <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=27&amp;view=log">[select for diffs]</a>




<br />

Modified

<em>Wed Sep 17 11:54:17 2008 UTC</em>
(2 years, 10 months ago)
by <em>cocomp</em>









<br />File length: 43619 byte(s)







<br />Diff to <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=26&amp;r2=27">previous 26</a>







<pre class="vc_log">Big changes to tag callback regex - much improved, change in constructor - now pass in an array of options, assign objects as well as arrays, _pre_var_dump made protected instead of private, new protected method _ob_var_dump</pre>
</div>



<div>
<hr />

<a name="rev26"></a>


Revision <a href="/viewvc/xtpl?view=revision&amp;revision=26"><strong>26</strong></a> -


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=26&amp;view=markup">view</a>)


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=26">download</a>)

(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?annotate=26">annotate</a>)



- <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=26&amp;view=log">[select for diffs]</a>




<br />

Modified

<em>Thu Aug 16 22:31:06 2007 UTC</em>
(3 years, 11 months ago)
by <em>cocomp</em>









<br />File length: 39401 byte(s)







<br />Diff to <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=24&amp;r2=26">previous 24</a>







<pre class="vc_log">* r26 | cocomp | 2007-08-16 23:30:00 +0100 (Thu, 16 Aug 2007) | 4 lines
 * Added XTemplate::force_globals parameter to force existance of $_SERVER,
 * $_ENV and $_REQUEST if PHP 5 auto_globals_jit directive is in effect
 * Stopped recursion of $GLOBALS in scan_globals method</pre>
</div>



<div>
<hr />

<a name="rev24"></a>


Revision <a href="/viewvc/xtpl?view=revision&amp;revision=24"><strong>24</strong></a> -


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=24&amp;view=markup">view</a>)


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=24">download</a>)

(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?annotate=24">annotate</a>)



- <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=24&amp;view=log">[select for diffs]</a>




<br />

Modified

<em>Thu Aug 16 20:00:18 2007 UTC</em>
(3 years, 11 months ago)
by <em>cocomp</em>









<br />File length: 39025 byte(s)







<br />Diff to <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=23&amp;r2=24">previous 23</a>







<pre class="vc_log">* r24 | cocomp | 2007-08-16 21:00:00 +0100 (Thu, 16 Aug 2007) | 6 lines
 * Removed PHP4 style constructor only call parent::__construct from now on
 * Re-factored tag callback code - improve functionality:
 *      Now can call {tag|callback1} {tag|callback2} {tag|callback1#With a
 *      comment} to get different output for each (thanks again for the
 *      feedback Oliver)</pre>
</div>



<div>
<hr />

<a name="rev23"></a>


Revision <a href="/viewvc/xtpl?view=revision&amp;revision=23"><strong>23</strong></a> -


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=23&amp;view=markup">view</a>)


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=23">download</a>)

(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?annotate=23">annotate</a>)



- <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=23&amp;view=log">[select for diffs]</a>




<br />

Modified

<em>Thu Aug  9 05:04:14 2007 UTC</em>
(3 years, 11 months ago)
by <em>cocomp</em>









<br />File length: 40194 byte(s)







<br />Diff to <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=22&amp;r2=23">previous 22</a>







<pre class="vc_log">* Further fix for $_SESSION being empty when used with XTemplate::scan_globals() - monitor &amp; feedback if you experience side-effects
 * Added XTemplate::comment_delim defaults to '#'
 * Added XTemplate::callback_delim defaults to '|'
 * Tag callback functions - improve security (thanks Oliver):
 * 		Added XTemplate::allow_callbacks property (boolean) to allow switching functionality off
 * 		Added XTemplate::allowed_callbacks (array) to limit functions available from templates
 * 		Callbacks now only available for methods of subclasses of XTemplate or as functions in XTemplate::allowed_callbacks array</pre>
</div>



<div>
<hr />

<a name="rev22"></a>


Revision <a href="/viewvc/xtpl?view=revision&amp;revision=22"><strong>22</strong></a> -


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=22&amp;view=markup">view</a>)


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=22">download</a>)

(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?annotate=22">annotate</a>)



- <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=22&amp;view=log">[select for diffs]</a>




<br />

Modified

<em>Fri Aug  3 23:29:26 2007 UTC</em>
(3 years, 11 months ago)
by <em>cocomp</em>









<br />File length: 38036 byte(s)







<br />Diff to <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=21&amp;r2=22">previous 21</a>







<pre class="vc_log">* Fix for $_SESSION being empty when using scan_globals method in certain situations
 * Changes to regular expressions: Now use definable delimiter throughout code $preg_delimiter, defaults to ` (backtick)
 * Support top bit set characters x7f-xff in file, block and tags
 * Major new feature: tag callback functions - allow calling of (mutiple) PHP methods (in XTemplate or it's subclasses) or
 *		functions from within a tag prior to output using | (pipe) as delimiter. See ex9.php
 *		contents of tag are sent as a parameter to the callback function or method. NB. Methods take priority over same named function
 *		e.g. {tagname|callback_function} for simple single parameter callback, tag contents passed as only parameter to callback.
 *		e.g. {tagname|callback_function('param1', 'param2', %s)} to allow mutiple parameters to be specified, %s replaced by tag contents.
 *		Real world chaining callbacks together:
 *			e.g. {tagname|str_replace('Hello World', 'Welcome to the Jungle', %s)|strtolower|ucwords|my_user_callback_func}
 *		(Inspired by sf feature request #1756946 christophe_lu)
 * Altered debug code in text method to cater for situations when $tpldir may be an array</pre>
</div>



<div>
<hr />

<a name="rev21"></a>


Revision <a href="/viewvc/xtpl?view=revision&amp;revision=21"><strong>21</strong></a> -


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=21&amp;view=markup">view</a>)


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=21">download</a>)

(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?annotate=21">annotate</a>)



- <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=21&amp;view=log">[select for diffs]</a>




<br />

Modified

<em>Tue May 29 18:01:15 2007 UTC</em>
(4 years, 1 month ago)
by <em>cocomp</em>









<br />File length: 33061 byte(s)







<br />Diff to <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=18&amp;r2=21">previous 18</a>







<pre class="vc_log">Added facility for constructor  to be an array of file paths, the first path supplied that has the file is matched</pre>
</div>



<div>
<hr />

<a name="rev18"></a>


Revision <a href="/viewvc/xtpl?view=revision&amp;revision=18"><strong>18</strong></a> -


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=18&amp;view=markup">view</a>)


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=18">download</a>)

(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?annotate=18">annotate</a>)



- <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=18&amp;view=log">[select for diffs]</a>




<br />

Modified

<em>Thu Jan 11 03:29:11 2007 UTC</em>
(4 years, 6 months ago)
by <em>cocomp</em>









<br />File length: 32509 byte(s)







<br />Diff to <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=12&amp;r2=18">previous 12</a>







<pre class="vc_log">Major update for initial PHP 5 version 
Deprecated: PHP 4 constructor, SetNullString (use set_null_string) and SetNullBlock (use set_null_block). Added sf Feature request #1529478. Fixed SF Bug #1261828. Introduced comment_preg property. Refactored assign method - may break some old functionality! Constructor now only calls restart method</pre>
</div>



<div>
<hr />

<a name="rev12"></a>


Revision <a href="/viewvc/xtpl?view=revision&amp;revision=12"><strong>12</strong></a> -


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=12&amp;view=markup">view</a>)


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=12">download</a>)

(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?annotate=12">annotate</a>)



- <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=12&amp;view=log">[select for diffs]</a>




<br />

Modified

<em>Tue May  2 14:47:11 2006 UTC</em>
(5 years, 2 months ago)
by <em>cocomp</em>









<br />File length: 31077 byte(s)







<br />Diff to <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=11&amp;r2=12">previous 11</a>







<pre class="vc_log">Removed new line at end of file
</pre>
</div>



<div>
<hr />

<a name="rev11"></a>


Revision <a href="/viewvc/xtpl?view=revision&amp;revision=11"><strong>11</strong></a> -


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=11&amp;view=markup">view</a>)


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=11">download</a>)

(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?annotate=11">annotate</a>)



- <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=11&amp;view=log">[select for diffs]</a>




<br />

Modified

<em>Tue May  2 14:27:19 2006 UTC</em>
(5 years, 2 months ago)
by <em>cocomp</em>









<br />File length: 30994 byte(s)







<br />Diff to <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=10&amp;r2=11">previous 10</a>







<pre class="vc_log">2006/05/02:

- Added $over_write parameter to assign method which defaults to false. The
  behaviour is therefore to always overwrite the name/value array
- Fixed bug in regexes for older php version (specifically php 4.2.2) that
  caused regex to fail
</pre>
</div>



<div>
<hr />

<a name="rev10"></a>


Revision <a href="/viewvc/xtpl?view=revision&amp;revision=10"><strong>10</strong></a> -


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=10&amp;view=markup">view</a>)


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=10">download</a>)

(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?annotate=10">annotate</a>)



- <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=10&amp;view=log">[select for diffs]</a>




<br />

Modified

<em>Wed Aug 17 09:57:58 2005 UTC</em>
(5 years, 11 months ago)
by <em>cocomp</em>









<br />File length: 30546 byte(s)







<br />Diff to <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=9&amp;r2=10">previous 9</a>







<pre class="vc_log">Changelog
2005/08/17:

- Improved phpDoc entries
- Added support for XTPL_DIR constant from SF Feature request 1202027:  Kenneth Kalmer
- Added support for comments in {FILE } includes e.g. {FILE \&quot;somefile.xtpl\&quot;# An included file}
- Rewritten assign method, now checks if $val is an array instead of $name which never would be. Also added new parameter for stripslashes support e.g. $xtpl-&gt;assign('var', 'var', get_magic_quotes_qpc());
- Moved most regular expressions to use | as delimiter
- Improved output with regard to block tags and line endings - much better for xml output
- Added support for empty files in file includes - previously required at least one byte
</pre>
</div>



<div>
<hr />

<a name="rev9"></a>


Revision <a href="/viewvc/xtpl?view=revision&amp;revision=9"><strong>9</strong></a> -


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=9&amp;view=markup">view</a>)


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=9">download</a>)

(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?annotate=9">annotate</a>)



- <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=9&amp;view=log">[select for diffs]</a>




<br />

Modified

<em>Mon Apr 11 11:20:28 2005 UTC</em>
(6 years, 3 months ago)
by <em>cocomp</em>









<br />File length: 28102 byte(s)







<br />Diff to <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=8&amp;r2=9">previous 8</a>







<pre class="vc_log">Fixed backslashes issue (properly\!)
</pre>
</div>



<div>
<hr />

<a name="rev8"></a>


Revision <a href="/viewvc/xtpl?view=revision&amp;revision=8"><strong>8</strong></a> -


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=8&amp;view=markup">view</a>)


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=8">download</a>)

(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?annotate=8">annotate</a>)



- <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=8&amp;view=log">[select for diffs]</a>




<br />

Modified

<em>Mon Apr 11 10:00:47 2005 UTC</em>
(6 years, 3 months ago)
by <em>cocomp</em>









<br />File length: 28018 byte(s)







<br />Diff to <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=7&amp;r2=8">previous 7</a>







<pre class="vc_log">Added restart() method sf:641407 feature request
</pre>
</div>



<div>
<hr />

<a name="rev7"></a>


Revision <a href="/viewvc/xtpl?view=revision&amp;revision=7"><strong>7</strong></a> -


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=7&amp;view=markup">view</a>)


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=7">download</a>)

(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?annotate=7">annotate</a>)



- <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=7&amp;view=log">[select for diffs]</a>




<br />

Modified

<em>Fri Apr  8 09:17:37 2005 UTC</em>
(6 years, 3 months ago)
by <em>cocomp</em>









<br />File length: 26314 byte(s)







<br />Diff to <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=5&amp;r2=7">previous 5</a>







<pre class="vc_log">Fixed bug with backslashes sf:810773 &amp; updated docs
</pre>
</div>



<div>
<hr />

<a name="rev5"></a>


Revision <a href="/viewvc/xtpl?view=revision&amp;revision=5"><strong>5</strong></a> -


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=5&amp;view=markup">view</a>)


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=5">download</a>)

(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?annotate=5">annotate</a>)



- <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=5&amp;view=log">[select for diffs]</a>




<br />

Modified

<em>Thu Apr  7 12:02:52 2005 UTC</em>
(6 years, 3 months ago)
by <em>cocomp</em>









<br />File length: 25755 byte(s)







<br />Diff to <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=4&amp;r2=5">previous 4</a>







<pre class="vc_log">MAJOR UPDATE: E_ALL safe, better internal documentation, code readability ++, many bugfixes and new features - considered stable
</pre>
</div>



<div>
<hr />

<a name="rev4"></a>


Revision <a href="/viewvc/xtpl?view=revision&amp;revision=4"><strong>4</strong></a> -


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=4&amp;view=markup">view</a>)


(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?revision=4">download</a>)

(<a href="/viewvc/xtpl/trunk/xtemplate.class.php?annotate=4">annotate</a>)



- <a href="/viewvc/xtpl/trunk/xtemplate.class.php?r1=4&amp;view=log">[select for diffs]</a>




<br />

Added

<em>Wed Apr  6 13:22:44 2005 UTC</em>
(6 years, 3 months ago)
by <em>cocomp</em>







<br />File length: 14994 byte(s)











<pre class="vc_log">Renamed xtemplate.inc to xtemplate.class.php
</pre>
</div>

 



 <div class="sfBox">
<hr class="clear"/>
<a name="diff"></a>
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,

enter a numeric revision.

<form method="get" action="/viewvc/xtpl/trunk/xtemplate.class.php" id="diff_select">
<table cellpadding="2" cellspacing="0" class="auto">
<tr>
<td>&nbsp;</td>
<td>

<input type="hidden" name="view" value="diff"/>

Diffs between

<input type="text" size="12" name="r1"
value="27" />

and

<input type="text" size="12" name="r2" value="4" />

</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
Type of Diff should be a
<select name="diff_format" onchange="submit()">
<option value="h" selected="selected">Colored Diff</option>
<option value="l" >Long Colored Diff</option>
<option value="f" >Full Colored Diff</option>
<option value="u" >Unidiff</option>
<option value="c" >Context Diff</option>
<option value="s" >Side by Side</option>
</select>
<input type="submit" value=" Get Diffs " />
</td>
</tr>
</table>
</form>
</div>


<form method="get" action="/viewvc/xtpl/trunk/xtemplate.class.php">
<div>
<hr />
<a name="logsort"></a>
<input type="hidden" name="view" value="log"/>
Sort log by:
<select name="logsort" onchange="submit()">
<option value="cvs" >Not sorted</option>
<option value="date" >Commit date</option>
<option value="rev" >Revision</option>
</select>
<input type="submit" value=" Sort " />
</div>
</form>


<br />
</div>
</div>
</div>
<div id="ft">
<div class="yui-b">
<div class="yui-gb">
<div class="yui-u first" style="text-align: center;"> <a href="http://p.sf.net/sourceforge/support">SourceForge Help<a/> </div>
<div class="yui-u" style="text-align: center;"> <strong><a href="/viewvc-static/help_log.html">ViewVC Help</a></strong> </div>
<div class="yui-u" style="text-align: center;"> <a href="http://viewvc.tigris.org/">Powered by ViewVC 1.1.6</a> </div>
</div>
<p class="copyright">Copyright &copy; 2010 <a title="Network which provides and promotes Open Source software downloads, development, discussion and news." href="http://geek.net">Geeknet, Inc.</a> All rights reserved. <a href="http://p.sf.net/sourceforge/terms">Terms of Use</a></p>
</div>
</div>
</div>
<!--[if IE]></div><![endif]-->
<!--[if IE 6]></div><![endif]-->
<!--[if IE 7]></div><![endif]-->
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-32013-37");
pageTracker._setDomainName(".sourceforge.net");
pageTracker._trackPageview();
</script>
</body>
</html>


